<?php
/* @var $this GiftPasswordController */
/* @var $model GiftPassword */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php //echo $form->label($model,'activity_id'); ?>
		<?php //echo $form->dropDownList($model,'activity_id',GiftPassword::model()->getActivityName('')); ?>
	</div>

	<div class="row">
		<?php //echo $form->label($model,'state'); ?>
		<?php //echo $form->dropDownList($model,'state',array(0=>Yii::t('base','Unassigned,Unclaimed,Unexpired'),1=>Yii::t('base','Has Assigned,Unclaimed,Unexpired'),2=> Yii::t('base','Has Assigned,Unclaimed,Expired'),3=>Yii::t('base','Has Assigned,To accept the award')) ); ?>
		
	</div>

	<div class="row">
		<?php //echo $form->label($model,'time'); ?>
		<!-- <input class="Wdate" type="text" name="GiftPassword[time]" 
	 value="<?php //echo $model->time=='0000-00-00'?date("Y-m-d"):$model->time;?>" onClick="WdatePicker({startDate:'%y-%M-01',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true})" /> -->
	</div>
	
	<div class="row">
		<?php echo $form->label($model,'password'); ?>
		<?php echo $form->TextField($model,'password',array('size'=>50,'maxlength'=>50)); ?>
		
	</div>
	
	<div class="row">
		<?php echo $form->label($model,'moblie'); ?>
		<?php echo $form->TextField($model,'moblie',array('size'=>14,'maxlength'=>50)); ?>
		
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('base','search')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->